How Parameters Work
Plug-in parameters are stored in a parameter record, which is a specialized type of VectorWorks record format. Parameter records are required by VectorScript objects, but they can be created and associated with any type of VectorScript plug-in.
Values are stored in the parameter record by means of parameter fields. These fields act like regular record fields and can be accessed for reading and writing by the plug-in script. Parameter fields have distinct data types for storing different kinds of information; information on specific parameter types is found later in this section.
The values stored in the parameter record of a VectorScript plug-in can be used in one of several ways. Objects use the stored parameter values to define and create the appearance of the object instance. Menu commands and tools use parameter records to store information for subsequent use with the plug-in item. Switching files displays stored values associated with the new file, or, if no parameter record exists, will display the default values of the parameter record as created by the plug-in item.
Parameter records can be associated with the plug-in item itself, or, in the case of objects, can be associated with each instance of an object placed in a file. When an object instance is placed in the file, the object’s parameter record can be edited using the Object Info palette. (The Object Info palette also provides a convenient interface for editing the definition path for path objects.)
 
When the tool or object is active, click the Tool bar button to access default parameters to use for new object instances, or select an object instance and edit its parameter field values through the Object Info palette

Using VectorScript Plug-ins : Plug-in Parameter Types : How Parameters Work

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050